package com.dp1.deliversoft.algorithm;

import java.util.Comparator;

import com.dp1.deliversoft.entidad.Pedido;

public  class CompHora implements Comparator<Pedido> {
    @Override
    public int compare(Pedido arg0, Pedido arg1) {
        return arg0.getHora().compareTo(arg1.getHora());
    }
}
